import {request} from '../utils/util';
const defaultSettings = require('../config/defaultSettings')
const noticeUrl = {
  queryPage:defaultSettings.appServer+'/AppExcludeController/noticePage',

}
function queryTopNoticeInfo(){
  let parameter ={}
  parameter["pageNo"]=1
  parameter["pageSize"]=5
  parameter["queryForm"]=[]
  parameter["orderColumns"]=[]
  parameter["queryForm"].push({field:"isUse",val:defaultSettings.constants.yes})
  parameter["orderColumns"].push({field:"noticeOrder",val:"asc"})
  return request({url:noticeUrl.queryPage,data:parameter});
}

function queryPageNoticeInfo(){

}


module.exports = {
  queryTopNoticeInfo,queryPageNoticeInfo,noticeUrl
}